export interface UserInfo {
  id: number | string
  phone: string
  nickName: string
  account: string
  weChartAccount: string
  email: string
  avatar: string
  descption: string
  roles?: (string | number)[]
}

export function getUserInfoApi() {
  return useGet<UserInfo>('/login/getAdminInfo')
}
